#ifndef WINDOW_H
#define WINDOW_H

#include <QWidget>
#include <QMainWindow>
#include <QStatusBar>
#include <QMenuBar>
#include <QAction>
#include <QSpinBox>
#include <QDockWidget>

#include "glwidget.h"
#include "graphic_window.h"
#include "computate_panel.h"

class Window : public QMainWindow{
	Q_OBJECT

	public:
		Window();
		~Window();

	private:
		double qrError;
		QStatusBar* statusbar;
		QMenuBar* menubar;
		GLWidget *glWidget;
		QDockWidget* panel;
		ComputatePanel* computatePanel;
		QAction* view_panel_action;
		
	private slots:
		void setNumberMasses();
		void setNumberFloors();
		void showGraphic();
		void setQRError();
};

#endif
